<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
	<title>网上缴费</title>
	<link rel="stylesheet" type="text/css" href="${ctx }/css/main.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/reset.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/common.css" />
	<link rel="stylesheet" type="text/css" href="${ctx }/css/system.css" />
  	<script type="text/javascript">
		function AddTemp(idNum)
		{
			alert(idNum);
			document.getElementById("mainForm").action = "/base/group-register!AddToOrderTemp.action?userIdentify="+idNum;
			document.getElementById("mainForm").submit();
			document.getElementById("mainForm").action ="";
		}
		
		function check(){
			var i=document.getElementById("userIdentify");
			if(i.value==""){
				alert("身份证不能为空");
			return false;}
		}
	</script>
  </head>
  
  <body>
<div class="container">
  <div class="page">
    <div class="header">
      <div class="nav"><a href="#"></a><a href="#"></a></div>
    </div>
    <div class="main">
<!--标题1------------------------------------>

<!--标题2------------------------------------>

      
<!--主体内容------------------------------------>
        <!--左侧栏----------->
        <div class="leftbar">
         <a href="${ctx }/base/group-register.action"><img src="../img/main_info.jpg" alt="基本信息" /></a>
         <a href="${ctx }/base/order-temp!list.action"><img src="../img/main_pay.jpg" alt="网上缴费" /></a>
         <a href="${ctx }/base/group-register!input.action"><img src="../images/list.png" alt="打印回执" /></a>
         <div class="ICP">
          <form>
           <span>广东工业大学</span><br />
           <span>粤ICP证 05008833</span>
          </form>
         </div>
        </div>
        <!--主要内容区----------->
        <div class="maininfo">
          <div class="topinfo">
              <h3>集体考试缴费说明</h3>
              <p>1、考生登录系统后，请检查个人信息是否正确；</p>
              <p>2、未缴费无法查看考试组别及教室名称；</p>
              <p>3、缴费成功后，可在本系统【基本信息】页面查看考试组别及教室名称；</p>
              <p>4、确认信息后，请点击<img src="../img/pay_small.png" alt="网上缴费" />进行网上缴费；</p>
              <p>5、如有其他问题，可咨询广东工业大学招生办工作人员，招办咨询电话：33333333</p>
          </div>
          <div class="tablestyle" style='margin-top:10px;'>
           <s:if test="hasActionMessages()">      
	         <s:iterator value="actionMessages">      
	             <script language="JavaScript">      
	                 alert("<s:property escape="false"/>");     
	             </script>      
	         </s:iterator>      
	      </s:if> 
           <form id="mainForm" action="${ctx}/base/group-register!search.action" method="post" onSubmit="return check();">
		      <fieldset style='margin-bottom:10px;'>
			    <legend></legend>
			    	身份证号:  <input style='border:1px solid #ccc' type="text" name="userIdentify" id="userIdentify"/> 
				<input type="submit" style='background-color:#B4CDE6;color:#fff;cursor:pointer;padding:0px 10px' value="查询" />
			  </fieldset>
			  </form>
           <table id="customers"style='width:450px'>
	          <s:iterator value="payLog" >
	           <tr class="alt">
		        <td width="30%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">学生号</span></div></td>
		       	<td height="30" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${ExamieeNo }</div></td>
		       </tr>
		       <tr class="alt"> 
		        <td width="30%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">身份证号</span></div></td>
		       		        <td height="30" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Idnum }</div></td>
		       
		       </tr>
		       <tr class="alt"> 
		        <td width="30%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">姓名</span></div></td>
		       		        <td height="30" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Name }</div></td>
		       
		       </tr>
		       <tr class="alt"> 
		        <td width="30%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">性别</span></div></td>
		       		        <td height="30" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Gender }</div></td>
		       
		       </tr>
		       <tr class="alt"> 
		        <td width="30%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">报名点名称</span></div></td>
		       		        <td height="30" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${SignPlace }</div></td>
		       
		       </tr>
		       <tr class="alt"> 
		        <td width="30%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">缴费金额</span></div></td>
		       		        <td height="30" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Amount }</div></td>
		       
		       </tr>
		       <tr class="alt"> 
		        <td width="30%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">缴费状态</span></div></td>
		       		        <td height="30" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${PayStatus }</div></td>
		       
		       </tr>
		       <tr class="alt"> 
		        <td width="30%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">联系方式（手机）</span></div></td>
		       		        <td height="30" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Mobile }</div></td>
		       
		       </tr>
		       <tr class="alt"> 
		        <td width="30%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">操作</span></div></td>
		      		        <td height="30" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><a href="${ctx}/base/group-register!AddToOrderTemp.action?userIdentify=${Idnum }" >加入缴费名单</a></div></td>
		       <!-- <td height="30" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><a href="javascript:void(0)" onclick="AddTemp(${Idnum})">加入缴费名单</a></div></td>-->
		      </tr>
		     </s:iterator>
			</table>
			
			<div class="tablestyle" style='margin-top:10px;' >
         	<form id="mainForm" action="" method="post">
         	<table id="customers">
	           <tr class="alt">
	           <td width="5%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">序号</span></div></td>
		        <td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">学生号</span></div></td>
		        <td width="12%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">身份证号</span></div></td>
		        <td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">姓名</span></div></td>
		        <td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">缴费金额</span></div></td>
		        <td width="8%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">操作</span></div></td>
		      </tr>
			<s:iterator value="page.Result" status="status">
		      <tr>
		      	<td height="20" bgcolor="#FFFFFF" class="STYLE6"><div align="center"><span class="STYLE19">${status.index+1 +(page.pageNo-1)*page.pageSize}</span></div></td>
		        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${ExamineeNo }</div></td>
		        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Idnum }</div></td>
		        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Name }</div></td>
		        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">${Amount }</div></td>
		        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"><a href="/base/group-register!delete.action?id=${id }">删除</a></div></td>
		      </tr>
		     </s:iterator>
			</table>
			</form>
			 
			<br/>
			<br/>
          </div>
          
          
          </div>
        </div>
      <!--底部----------->
      <!-- <div class="footer">
      </div>
      -->
      <div style='clear:both'></div>
      <!-- <div style='background-color:#000;heigth:400px;width:400px;'>123</div> -->
    </div>
  </div>
</div>
  </body>
</html>
